package scsc.web.xzgl.building.apartment.data;

import java.io.Serializable;

import scsc.pub.data.ExpensesPrice;

public class ExpensesPriceData extends ExpensesPrice implements Serializable {	

	public ExpensesPriceData() {
		init();
	}

	public ExpensesPriceData(String feeTypeId, String feeTypeName,
			double feePrice, String feeUnit, String userId, String latestDate) {
		setFeeTypeId(feeTypeId);
		setFeeTypeName(feeTypeName);
		setFeePrice(feePrice);
		setFeeUnit(feeUnit);
		setUserId(userId);
		setLatestDate(latestDate.substring(0,10));
	}

	public void reset() {
		init();
	}

	public void init() {
		setFeeTypeId(null);
		setFeeTypeName("");
		setFeePrice(0.0);
		setFeeUnit("");
		setUserId("");
		setLatestDate("");
	}
}
